Optimal. Leaf size=83 \[ \frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e}+\frac {(2 A b-a B) \sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {b} (e x)^{3/2}}{e^{3/2} \sqrt {a+b x^3}}\right )}{3 b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 83, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {470, 335, 281,
223, 212} \begin {gather*} \frac {\sqrt {e} (2 A b-a B) \tanh ^{-1}\left (\frac {\sqrt {b} (e x)^{3/2}}{e^{3/2} \sqrt {a+b x^3}}\right )}{3 b^{3/2}}+\frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 223
Rule 281
Rule 335
Rule 470
Rubi steps
\begin {align*} \int \frac {\sqrt {e x} \left (A+B x^3\right )}{\sqrt {a+b x^3}} \, dx &=\frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e}-\frac {\left (-3 A b+\frac {3 a B}{2}\right ) \int \frac {\sqrt {e x}}{\sqrt {a+b x^3}} \, dx}{3 b}\\ &=\frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e}+\frac {(2 A b-a B) \text {Subst}\left (\int \frac {x^2}{\sqrt {a+\frac {b x^6}{e^3}}} \, dx,x,\sqrt {e x}\right )}{b e}\\ &=\frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e}+\frac {(2 A b-a B) \text {Subst}\left (\int \frac {1}{\sqrt {a+\frac {b x^2}{e^3}}} \, dx,x,(e x)^{3/2}\right )}{3 b e}\\ &=\frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e}+\frac {(2 A b-a B) \text {Subst}\left (\int \frac {1}{1-\frac {b x^2}{e^3}} \, dx,x,\frac {(e x)^{3/2}}{\sqrt {a+b x^3}}\right )}{3 b e}\\ &=\frac {B (e x)^{3/2} \sqrt {a+b x^3}}{3 b e}+\frac {(2 A b-a B) \sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {b} (e x)^{3/2}}{e^{3/2} \sqrt {a+b x^3}}\right )}{3 b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 78, normalized size = 0.94 \begin {gather*} \frac {\sqrt {e x} \left (\sqrt {b} B x^{3/2} \sqrt {a+b x^3}+(2 A b-a B) \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {b} x^{3/2}}\right )\right )}{3 b^{3/2} \sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 4 vs. order
3.
time = 0.39, size = 6424, normalized size = 77.40
method | result | size |
risch | \(\text {Expression too large to display}\) | \(1039\) |
elliptic | \(\text {Expression too large to display}\) | \(1046\) |
default | \(\text {Expression too large to display}\) | \(6424\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 133 vs.
\(2 (53) = 106\).
time = 0.49, size = 133, normalized size = 1.60 \begin {gather*} \frac {1}{6} \, {\left (B {\left (\frac {a \log \left (-\frac {\sqrt {b} - \frac {\sqrt {b x^{3} + a}}{x^{\frac {3}{2}}}}{\sqrt {b} + \frac {\sqrt {b x^{3} + a}}{x^{\frac {3}{2}}}}\right )}{b^{\frac {3}{2}}} - \frac {2 \, \sqrt {b x^{3} + a} a}{{\left (b^{2} - \frac {{\left (b x^{3} + a\right )} b}{x^{3}}\right )} x^{\frac {3}{2}}}\right )} - \frac {2 \, A \log \left (-\frac {\sqrt {b} - \frac {\sqrt {b x^{3} + a}}{x^{\frac {3}{2}}}}{\sqrt {b} + \frac {\sqrt {b x^{3} + a}}{x^{\frac {3}{2}}}}\right )}{\sqrt {b}}\right )} e^{\frac {1}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.19, size = 159, normalized size = 1.92 \begin {gather*} \left [\frac {4 \, \sqrt {b x^{3} + a} B b x^{\frac {3}{2}} e^{\frac {1}{2}} - {\left (B a - 2 \, A b\right )} \sqrt {b} e^{\frac {1}{2}} \log \left (-8 \, b^{2} x^{6} - 8 \, a b x^{3} - 4 \, {\left (2 \, b x^{4} + a x\right )} \sqrt {b x^{3} + a} \sqrt {b} \sqrt {x} - a^{2}\right )}{12 \, b^{2}}, \frac {2 \, \sqrt {b x^{3} + a} B b x^{\frac {3}{2}} e^{\frac {1}{2}} + {\left (B a - 2 \, A b\right )} \sqrt {-b} \arctan \left (\frac {2 \, \sqrt {b x^{3} + a} \sqrt {-b} x^{\frac {3}{2}}}{2 \, b x^{3} + a}\right ) e^{\frac {1}{2}}}{6 \, b^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 3.15, size = 107, normalized size = 1.29 \begin {gather*} \frac {2 A \sqrt {e} \operatorname {asinh}{\left (\frac {\sqrt {b} \left (e x\right )^{\frac {3}{2}}}{\sqrt {a} e^{\frac {3}{2}}} \right )}}{3 \sqrt {b}} + \frac {B \sqrt {a} \left (e x\right )^{\frac {3}{2}} \sqrt {1 + \frac {b x^{3}}{a}}}{3 b e} - \frac {B a \sqrt {e} \operatorname {asinh}{\left (\frac {\sqrt {b} \left (e x\right )^{\frac {3}{2}}}{\sqrt {a} e^{\frac {3}{2}}} \right )}}{3 b^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.80, size = 56, normalized size = 0.67 \begin {gather*} \frac {\sqrt {b x^{3} + a} B x^{\frac {3}{2}} e^{\frac {1}{2}}}{3 \, b} + \frac {{\left (B a - 2 \, A b\right )} e^{\frac {1}{2}} \log \left ({\left | -\sqrt {b} x^{\frac {3}{2}} + \sqrt {b x^{3} + a} \right |}\right )}{3 \, b^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (B\,x^3+A\right )\,\sqrt {e\,x}}{\sqrt {b\,x^3+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________